package com.victor.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 专利证书表
 * 
 * @author Mr.Zhang
 *
 */
@Entity
@Table(name = "certificate")
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Certificate {

	@Id
	@GeneratedValue(strategy = GenerationType.IDENTITY) // 主键类型--自动递增生成
	@Column(name = "id", unique = true, nullable = false, length = 11)
	private Integer id;

	@Column(name = "c_picture", length = 100)
	private String c_picture; // 证书图片

	@Column(name = "c_name_zh", length = 100)
	private String c_name_zh; // 名称--中
	
	@Column(name = "c_name_kr", length = 100)
	private String c_name_kr; // 名称--韩
	
	@Column(name = "c_name_ru", length = 100)
	private String c_name_ru; // 名称--俄
	
	@Column(name = "c_name_ja", length = 100)
	private String c_name_ja; // 名称--日
	
	@Column(name = "c_name_en", length = 100)
	private String c_name_en; // 名称--英
	
	@Column(name = "c_content_zh", length = 100)
	private String c_content_zh;// 内容--中
	
	@Column(name = "c_content_kr", length = 100)
	private String c_content_kr;// 内容--韩
	
	@Column(name = "c_content_ru", length = 100)
	private String c_content_ru;// 内容--俄
	
	@Column(name = "c_content_ja", length = 100)
	private String c_content_ja;// 内容--日
	
	@Column(name = "c_content_en", length = 100)
	private String c_content_en;// 内容--英
	
	@Column(name = "c_remarks_zh", length = 100)
	private String c_remarks_zh;// 备注--中
	
	@Column(name = "c_remarks_kr", length = 100)
	private String c_remarks_kr;// 备注--韩

	@Column(name = "c_remarks_ru", length = 100)
	private String c_remarks_ru;// 备注--俄
	
	@Column(name = "c_remarks_ja", length = 100)
	private String c_remarks_ja;// 备注--日
	
	@Column(name = "c_remarks_en", length = 100)
	private String c_remarks_en;// 备注--英

	@Column(name = "c_time", length = 100)
	private String c_time;// 证书申请时间
}
